package c03正则表达式;

import org.junit.Test;

/**
 * <p>
 *
 * @author: Yuanwl
 * @date: 2019/10/23 15:40
 */
public class 回车转换 {

    @Test
    public void print(){
        StringBuilder sb = new StringBuilder();
        sb.append("1\n").append("1\n").append("1\n").append("1\n");
        System.err.println(sb.toString().replaceAll("\\n", "<br/>\n"));
    }

}
